package top.market.service.impl;

import top.market.model.entity.LoginLog;
import top.market.mapper.LoginLogMapper;
import top.market.service.ILoginLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 登录日志 服务实现类
 * </p>
 *
 * @author li yuhai
 * @since 2025-03-26
 */
@Service
public class LoginLogServiceImpl extends ServiceImpl<LoginLogMapper, LoginLog> implements ILoginLogService {

    @Override
    public int saveLoginLog(LoginLog log) {
        return baseMapper.insert(log);
    }
}
